<?php if (!defined("_ECRIRE_INC_VERSION")) return;
/**
 * Aloha Cart
 *
 * @author     
 * @license    GNU/GPL
 * @package    plugins
 * @subpackage alohacart
 * @copyright  
 * @link       http://www.spip-contrib.net/AlohaCart
 */
 
/**
 *  
 *  Format: 
 *  Example: 
 */
function balise_ALOHACART_CURRENCY_BY($p) {	
	return calculer_balise_dynamique($p,'ALOHACART_CURRENCY_BY', array());
}

function balise_ALOHACART_CURRENCY_BY_stat($args, $filtres) {    
	return $args;
}

function balise_ALOHACART_CURRENCY_BY_dyn() {

	include_spip('functions/pdk_common');
    $cart = pdk_load_class('Alohacart','classes');
    $currency_choice = $cart->Get_currency_by();
	
    return array('balise/alohacart_currency_by', 0, 
	array(
		'currency_choice'=> $currency_choice
	));
}

?>